package com.questionnaire.model;


import lombok.Data;

import javax.persistence.Entity;
import javax.persistence.Id;
import javax.persistence.Table;

/**
 * 答案表
 *
 */
@Data
@Entity
@Table(name = "answer")
public class Answer {
	/**
     * 主键
	 */
	@Id
	private String id;
    /**
     * 类型(1单选2复选)
     */
	private Integer type;
    /**
     * 答案
     */
	private String value;
	/**
     * 用户ID
	 */
	private String userid;
    /**
     * 题号
     */
	private Integer number;


}
